Am Montag 08 Januar 2007 10:42 schrieb Gál László:
> I made my own changes paralely with Hendrik, with tcp and usb only. I
> am compiling and testing the code in winows xp, and even I am
> Administrator (root, I think :) ) obex_tcp says it can't create
> socket Error:None.

This usually comes from a wrong order of commands in the application (not the 
lib), e.g. not storing errno.
The error probably is EPERM: Permission denied.

> If I put the port higher than 1024, it seems to be 
> ok, but the other obex stuff runs on port 650 so they cannot find
> each other. Can you help me how to solve this?

There is no problem for a client to connect to 650 on a remote site. The 
permission thing can only happen on the server side. But you need the TcpOBEX 
code on both sides, that's right.
I didn't test the TcpOBEX code on WinXP but the server side seems to work on 
linux (with the updated patch): "obex_test -i" "s" binds to tcp6/[::]:650
and a connection to tcp/localhost:650 with IPv4 is possible (using telnet). I 
still have to modify my server app to use the TcpOBEX instead of InOBEX and I 
still have no client that can make use of it.

HS

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Openobex-users mailing list
[email protected]
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to