summaryrefslogtreecommitdiff
path: root/plugins/dfnet/dfnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dfnet/dfnet.c')
-rw-r--r--plugins/dfnet/dfnet.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/dfnet/dfnet.c b/plugins/dfnet/dfnet.c
index acc8fb48..d76a7574 100644
--- a/plugins/dfnet/dfnet.c
+++ b/plugins/dfnet/dfnet.c
@@ -99,17 +99,6 @@ int RECV(void *buf, int Size, int Mode) {
return count;
}
-void sockGetIP(char *IPAddress) {
- char str[256];
- struct hostent *host;
- unsigned char *addr;
-
- gethostname(str, 256);
- host = gethostbyname(str);
- addr = host->h_addr_list[0];
- sprintf(IPAddress, "%d.%d.%d.%d", addr[0], addr[1], addr[2], addr[3]);
-}
-
long CALLBACK NETopen(unsigned long *gpuDisp) {
int ret = sockOpen();