Would WCF client work over USB in compact framework? - wcf

Would WCF work through normal USB connection or does it require WIFI when using the Mobile Device as a WCF client to a WCF service running on the PC?
Thanks

Did you mean over usb via activesync, or just over USB in general?
I have consumed RESTFul WCF services on WM6 devices over usb/activesync. The activesync connection gives you a network connection that supports TCP. Use the host name 'ppp_peer' if you want to address the host pc you are connected to.

I use ActiveSync and resolve the hostname "dtpt_peer" which maps to 169.254.2.2, the IP assigned by the CF device to the desktop peer, and then use WCF via TCP.

I would think that it wouldn't work over the USB connection because the USB is not a network connection. Unless you are referring to some kind of USB ethernet adapter, and not a USB cable plugged directly from your mobile to your computer, then you are most likely out of luck in this regard.

Related

Can WebRTC work over an Android USB Ethernet connection?

I am trying to use WebRTC on an Android App to stream to a media server running on my workstation using a USB tethering connection. I see have good signaling, with an offer and an answer that seem to make sense with respect to the IP addresses, but I do not get any UDP streaming traffic.
Is there something in the Android WebRtc library that would omit this rndis0 interface? Over Wi-Fi, everything works as intended, but not if the tethered ethernet is the only connection.

How to intercept messages between usb device and host controller?

I have to write a usb over ethernet application. Using vhci - (http://sourceforge.net/projects/usb-vhci/?source=typ_redirect) I am able to create a virtual usb device. Now I need to intercept communication between actual device and server and redirect it over ip to the virtual device created on the client. I need help regarding this interception part.

iPhone sockets working over WIFI but not 3G

I have a native iPhone app that connects to a client machine via sockets. The connection works over WIFI but does not work over 3G.
Does anyone have ideas what the issue could be?
Thank you.
UPDATE: The client machine is not on the same network as the iPhone.
Is this client machine within the same network as the iPhone? Then you can access it over Wifi, but would need a proxy over 3G. Just a guess.
The issue is that some cellular networks block certain ports. This is why it worked over WIFI but not 3g. One of the reasons why it is better to use web services.

Can you change Windows Mobile Device Centre to use a different network from 192.168.55.0/24 for debugging the compact framework?

I have a piece of software I have written that talks to a web service over it's Wifi connection on a Casio WinCE handheld.
Unfortunately the Wifi network and the network created by WMDC (or ActiveSync) to host the debugger connection clash, they are both 192.168.55.0/24. So I can't have them both connected at the same time.
Does anybody know if you can reconfigure WMDC to use a different address range?
I've hunted through the registry but can't see anything obvious, and Google is not turning up anything useful.
Thanks,
James.
Is the development PC on teh same network as the WiFi connection? If so, I'd abandon ActiveSync/WMDC altogetehr and just use ethernet debugging over the same connection that it's using for the web service calls.

Testing tool for TCP/IP communication

I am creating an iPad app, which has to communicate with a WiFi enable device using TCP/IP protocol. I have the API sets of the device for communication. Now what i want is i would like to see whether the device is responding to the requests send via TCP/IP. Please suggest a good tool for MAC OS, where i can simulate the WiFi communication and get the response messages from the device.
Thanking you guys in advance
I have just started to use MAC OSX recently and I also have the same question as yours.
Luckily I have found a good tool that you can try:
https://packetsender.com/
It's multiplatform, support both TCP and UDP client/server.
If I get your question you may use telnet. With telnet you can establish a TCP connection with the device and communicate with it, sending and receiving messages.