Problems with socket()
Christian Helmuth
christian.helmuth at ...1...
Thu Mar 10 09:21:01 CET 2011
Hi,
On Thu, Mar 10, 2011 at 10:39:00AM +0300, Александр Домо wrote:
> I'm writing a network application using libc, lwip, libc_lwip, and
> libc_lwip_nic_dhcp.
> But when I call socket(SOCK_STREAM), it hangs somewhere in lwip_socket().
> Maybe it has something to do with the lwip tcp thread, but I'm not sure.
Maybe, maybe not, your provided rather little information about your
application scenario. Please send information about the Genode
platform you use, init configuration, the log messages, and at best
your source code (snippets). Did you implement a client or server
application?
> What else should I check for?
First, try to find out, if any packet leaves or enters your Genode
network node with Wireshark or a similar tool. Lwip should do DHCP to
discover the network configuration. You could also try to ICMP ping
the Genode node from another node in the network.
Regards
--
Christian Helmuth
Genode Labs
http://www.genode-labs.com/ · http://genode.org/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
More information about the users
mailing list