UdpSocket

This class allows Gambas programs to communicate using UDP sockets. It can be used like a server or client, as each data fragment sent or received is identified with its host IP and port.

This class inherits from ".Stream" class, so you can use standard stream methods to read, write and close the socket (read, write, print, close...)

hUdpSocket = NEW UdpSocket ( [ Port AS Integer ] )

EventsPropertiesMethodsConstants
Error 
Read 
 
SourceHost 
SourcePort 
Status 
TargetHost 
TargetPort 
 
Bind 
Peek 
 
Active 
CannotBindSocket 
CannotCreateSocket 
CannotRead 
CannotWrite 
Inactive 
 


Referenced by :