The emulator's network stack is very strange and I don't understand it.
 Could you run the server on a different machine rather than using
localhost?  I think the definition of localhost is confused in an emulator
env (do you mean the emulator, or the host machine).  You're better off not
trying to use it.

Regards,
Robert

On Tue, Apr 5, 2011 at 7:53 PM, 张达 <[email protected]> wrote:

> Hello,may i ask some questions about Support SCTP in Android?
>
> i have modified my kenerl Config file by  "CONFIG_IP_SCTP=m" and "insmod
> sctp.ko" is success .
>
> i hava done some simple client/server console application , but the
> function "connect" always failed by "Connection timed out" .The client and
> server concole application works well on my ubuntu host machine,but when i
> Cross-compile it to run on Android emulator , it won't mork well , the
> client request server_addr "127.0.0.1" , use port 9999 , the server listen
> on port 9999 , but the connection won't been established . Can anyone tell
> me what should i do ? Thank you .
>
> And i did't integrated lksctp tools in android , can anyone tell me how to
> integrated it?
>
> The mail attachment is the code of my test concole application.
>
> My English is poor , please forgive that .
>
> Please help me . Thank you .
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to