diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-13 06:59:35 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-13 06:59:35 +0000 |
| commit | d923b4329d7e2a8e48c57f503514bfeeca7c6b87 (patch) | |
| tree | 28939b4ad90ada279567edf42794b0ba139528fa /plugins/dfnet/dfnet.c | |
| parent | dd5ee8b8101f704777a05805f1d88c0d40e60cf7 (diff) | |
| download | pcsxr-d923b4329d7e2a8e48c57f503514bfeeca7c6b87.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47952 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfnet/dfnet.c')
| -rw-r--r-- | plugins/dfnet/dfnet.c | 11 |
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(); |
