Hello,

I have a strangle issue. At very top level, the issue is, TCP socket based 
server application can not open socket on beaglebone black running 
angstrom. But the strange thing is, it works fine when I call socket open 
function in main itself. Please see details below:

*Case #1)*

int main()
{
   /*Do all required initialization and all*/
  /*Open socket & bind*/
  /*Listen for client*/
  */*Accept(): At this stage, when client sends a connection request, 
server is able to open a socket and can communicate with client.*/*
}

*Case #2)*

int start_server()
{
  /*Do all required initialization and all*/
  /*Open socket & bind*/
  /*Listen for client*/
  */*Accept(): At this stage, when client sends a connection request, 
server can not able to open a socket to communicate*/ *
}

int main()
{
   start_server();
   return 0;
}


Any idea? Is it stack overflow issue or something like that?

Thanks,
Ashish

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to