add fn to pass ip:port as values

This commit is contained in:
Vinzenz Schroeter 2025-04-12 16:47:40 +02:00
parent 5eed5ecde2
commit bbe4000468
3 changed files with 46 additions and 14 deletions

View file

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