ifw-core  5.0.0-pre2
Public Member Functions | List of all members
network.clients.UDPClient Class Reference

Class implementing a UDP client. More...

Inheritance diagram for network.clients.UDPClient:
network.clients.BaseClient

Public Member Functions

def __init__ (self)
 Class constructor. More...
 
def send (self, str host, int port, bytes data)
 Send data to a specific server. More...
 
- Public Member Functions inherited from network.clients.BaseClient
def send (self, host, port, data)
 Send data to a network server idenditified with its host and listening port. More...
 

Detailed Description

Class implementing a UDP client.

Constructor & Destructor Documentation

◆ __init__()

def network.clients.UDPClient.__init__ (   self)

Class constructor.

Member Function Documentation

◆ send()

def network.clients.UDPClient.send (   self,
str  host,
int  port,
bytes  data 
)

Send data to a specific server.

Parameters
hostserver's host
portlistening port
datadata to be sent
Returns
the number of bytest that have been sent

The documentation for this class was generated from the following file: