With respect to Richard Stevens
Any unix programmer should start from his books

http://www.kohala.com/start/


2013/12/31 William Hermans <[email protected]>

> It definitely seems ( at least at first glance ) to be scope related. SO
> if you have an NDA and cant show us the ode start looking in terms of
> scope.
>
>
> On Mon, Dec 30, 2013 at 6:25 PM, William Hermans <[email protected]>wrote:
>
>> I think at some point you're going to have to show some code. The only
>> thing that kind of makes sense is that perhaps this method is private, but
>>  then you'd have a compiler error . . . so yeah it is hard to say without
>> seeing your code.
>>
>>
>> On Mon, Dec 30, 2013 at 1:42 AM, <[email protected]> wrote:
>>
>>> 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.
>>>
>>
>>
>  --
> 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.
>

-- 
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