int sctp_registerUdpCallback(unsigned char me[], unsigned short my_port, sctp_socketCallback scf)

this function is supposed to open and bind a UDP socket listening on a port to incoming udp pakets on a local interface (a local union sockunion address)

Documentation

this function is supposed to open and bind a UDP socket listening on a port to incoming udp pakets on a local interface (a local union sockunion address)
Parameters:
me - local address string (IPv4 or IPv6, numerical format), if it receives UDP data it will trigger callback
my_port - port to receive data on (will bind that port !)
scf - callback funtion that is called when data has arrived
Returns:
new UDP socket file descriptor, or -1 if error ocurred

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.