From d923b4329d7e2a8e48c57f503514bfeeca7c6b87 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Thu, 13 May 2010 06:59:35 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47952 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfnet/dfnet.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'plugins/dfnet/dfnet.c') 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(); -- cgit v1.2.3