on-internet
← Community

C# Sending Hex string to tcp socket

Stack Overflow ·

I'm trying to send a hex string to a tcp socket. I have some problems with the format or conversion of this string, cause I'm not very sure what the format its using. I've written a WindowsPhone app which is working fine based on Socket Class. This app emulates request, that are normaly send from a desktop program to a device which hosts a webservice. Via wireshark, I found out, that the webservice will accept an input stream (think its in hex) and returns a 2nd. hex stream which contains the data I need. So the desktop app is sending a stream and Wireshark shows when : Data (8 bytes) Data: 62

Comments

Sign in or sign up to comment and upvote.

No comments yet.