return count;
}
-int network_udp_listen_init(t_net *net,int port) {
+int network_udp_listen_init(t_net *net) {
struct sockaddr_in addr;
return N_SUCCESS;
}
-int network_set_udp_ports(t_net *net,int port) {
-
- net->l_udp_port=port;
-
- return N_SUCCESS;
-}
-
int network_udp_receive(t_net *net,int channel, unsigned char *data,int count) {
struct sockaddr_in addr;
int network_manage_incoming(t_net *net);
int network_send(int fd,unsigned char *data,int datasize);
int network_receive(int fd,unsigned char *data,int datasize);
-int network_udp_listen_init(t_net *net,int port);
-int network_set_udp_ports(t_net *net,int port);
+int network_udp_listen_init(t_net *net);
int network_udp_receive(t_net *net,int channel, unsigned char *data,int count);
int network_udp_send(t_net *net,int channel, unsigned char *data,int size);
int network_udp_shutdown(t_net *net);