UDP server with WIP


#1

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.

regards.


#2

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)


#3

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);