[Wine] Re: Application is listen to UDP port but no output

drunkenchicken wineforum-user at winehq.org
Sun Nov 14 05:23:00 CST 2010


Hi forum,

I checked the output of winedebug with +winsock option.
For me the interested part is: 

Code:

trace:winsock:WSAStartup succeeded
trace:winsock:WS_gethostname name 0x32f154, len 256
trace:winsock:WS_gethostname <- 'fusion'
trace:winsock:WS_gethostbyname "fusion" ret 0x16e7d0
trace:winsock:WS_socket af=2 type=2 protocol=0
trace:winsock:WSASocketA af=2 type=2 protocol=0 protocol_info=(nil) group=0 flags=0x1
trace:winsock:WSASocketW af=2 type=2 protocol=0 protocol_info=(nil) group=0 flags=0x1
trace:winsock:WSASocketW 	created 0138
trace:winsock:WSAAsyncSelect 138, hWnd 0x1400be, uMsg 00000373, event 00000003
trace:winsock:WS_setsockopt socket: 0138, level 0xffff, name 0x4, ptr 0x32f3a8, len 4
trace:winsock:WS_bind socket 0138, ptr 0x32f374 { family AF_INET, address 0.0.0.0, port 9871 }, length 16
trace:winsock:WS2_sendto socket 0138, wsabuf 0x32f2f0, nbufs 1, flags 0, to 0x32f354, tolen 16, ovl (nil), func (nil)
trace:winsock:WS2_sendto fd=133, options=0
warn:winsock:wsaErrno errno 13, (Permission denied).
warn:winsock:WS2_sendto  -> ERROR 10013
trace:winsock:WSAStartup verReq=2
trace:winsock:WSAStartup succeeded
trace:winsock:WS_gethostname name 0x32ee24, len 256
trace:winsock:WS_gethostname <- 'fusion'
trace:winsock:WS_gethostbyname "fusion" ret 0x16e7d0
trace:winsock:DllMain 0x7dcb0000 0x2 (nil)
trace:winsock:WSAStartup verReq=2
trace:winsock:WSAStartup succeeded
trace:winsock:WS_gethostname name 0x32f2a4, len 256
trace:winsock:WS_gethostname <- 'fusion'
trace:winsock:WS_gethostbyname "fusion" ret 0x16e7d0
trace:winsock:DllMain 0x7dcb0000 0x2 (nil)
trace:winsock:WS2_recvfrom socket 0138, wsabuf 0x32f25c, nbufs 1, flags 0, from (nil), fromlen -1, ovl (nil), func (nil)
trace:winsock:WS2_recvfrom fd=139, options=0
warn:winsock:WS2_recvfrom  -> ERROR 10035



If more output is needed, please tell me.

I found some stuff about some wrong /etc/hosts, mine is here.
The file was generated from ubuntu, but i can modify it by hand if necessary.

Code:

127.0.0.1	localhost
127.0.1.1	fusion

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts



fusion is the name of my linux machine wine is running on.







More information about the wine-users mailing list