UDP server with WIP

Hi all.

It is not clear to me if you can set WIP to create a channel/socket to listen for incomming UDP datagrams on a given port (optionally from a given IP/host) without sending something first… sort of an UDP server.

I recall ed plugin having the API for this.


wipLib UDP support does not have the concept of “server” or “client”. Once you open the UDP channel, you will receive any UDP data towards our IP address. also you can send data to any IP/port (with giving approiate parameter)

Once again, the answer is on the examples:

WIP UDP server sample:

socket = wip_UDPCreateOpts( evh, NULL, WIP_COPT_PORT, LOCAL_PORT, WIP_COPT_END);