Re: [OpenWrt-Devel] Socket programming on ixp4xx

2010-03-03 Thread Jason
Roberto Riggio wrote: > Hi, > Hi! > i have a problem with a simple daemon that I'm writing (the problem > is not happening on the x86 target). > probably due to diff C libraries... > Basically the piece of code that is creating the problem is the following: > > #include > > int main() > {

[OpenWrt-Devel] Socket programming on ixp4xx

2010-03-03 Thread Roberto Riggio
Hi, i have a problem with a simple daemon that I'm writing (the problem is not happening on the x86 target). Basically the piece of code that is creating the problem is the following: #include int main() { struct sockaddr_in addr_1, addr_2, addr_3; addr_1.sin_addr = inet_makeaddr(127