G
GhostlyImprints
Guest
Is there a way to get the port that was used when calling this function:
Only way I've found is to fire a datagram to a server and get the port that way, but is it possible to do it locally?
Can I retrieve the port I just opened in GameMaker itself?
Something like this:
network_create_socket(network_socket_udp);
Only way I've found is to fire a datagram to a server and get the port that way, but is it possible to do it locally?
Can I retrieve the port I just opened in GameMaker itself?
Something like this:
Code:
socket = network_create_socket(network_socket_udp);
port = network_get_socket_port(socket);