2002-10-15 03:11:28 +05:30
|
|
|
/* socket.h */
|
|
|
|
#ifndef _SOCKET_H
|
|
|
|
#define _SOCKET_H
|
|
|
|
|
2004-01-31 05:15:53 +05:30
|
|
|
int read_interface(char *interface, int *ifindex, uint32_t *addr, uint8_t *arp);
|
|
|
|
int listen_socket(uint32_t ip, int port, char *inf);
|
2002-10-15 03:11:28 +05:30
|
|
|
|
|
|
|
#endif
|