add fn to pass ip:port as values
This commit is contained in:
parent
5eed5ecde2
commit
bbe4000468
3 changed files with 46 additions and 14 deletions
|
@ -2,7 +2,7 @@
|
|||
#include "servicepoint.h"
|
||||
|
||||
int main(void) {
|
||||
UdpConnection *connection = sp_connection_open("localhost:2342");
|
||||
UdpConnection *connection = sp_connection_open_ipv4(127,0,0,1,2342);
|
||||
if (connection == NULL)
|
||||
return 1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue