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