Click here to Skip to main content
15,906,947 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Need help with Parsing Pin
Hawkster181-Oct-09 3:57
Hawkster181-Oct-09 3:57 
GeneralRe: Need help with Parsing Pin
Dave Kreskowiak1-Oct-09 3:59
mveDave Kreskowiak1-Oct-09 3:59 
GeneralRe: Need help with Parsing Pin
Hawkster181-Oct-09 4:04
Hawkster181-Oct-09 4:04 
GeneralRe: Need help with Parsing Pin
Dave Kreskowiak1-Oct-09 4:48
mveDave Kreskowiak1-Oct-09 4:48 
QuestionCopy Fail Pin
Vijjuuu.1-Oct-09 2:21
Vijjuuu.1-Oct-09 2:21 
AnswerRe: Copy Fail Pin
Dave Kreskowiak1-Oct-09 3:43
mveDave Kreskowiak1-Oct-09 3:43 
GeneralRe: Copy Fail Pin
Vijjuuu.1-Oct-09 4:19
Vijjuuu.1-Oct-09 4:19 
QuestionReplicate Application Network Behaviour Pin
phil241530-Sep-09 23:54
phil241530-Sep-09 23:54 
Well this is my third post resulting from this project I'm working on, which is taking me right out of my comfort zone!

I'm trying to replicate the behaviour of a server application we have which controls various display screens around the building over the network. The application itself is overly complex for our admin staff to use and I want to make my own which replicates just one small function of the original with a very simple UI. I think the networking side is fairly simple but although I'm quite experienced with vb.net I've never delved into the networking side of things before and it's a whole new scary world.

Up until now I've successfully got my version to broadcast a UDP packet with the required data, to which the display screens respond with an ICMP echo request. My server automatically replies to the echo (I didn't code that, the machine just does it). After that the client starts sending TCP packets in attempt to register itself with the server, and now that's where I'm stuck.

The client is sending a packet which apparently has no data but does have the SYN flag set to 1 and contains various 'options' (I'm getting this from a packet sniffer). When the real application receives that packet it responds with its own packet with the SYN flag as 1 and the ACK flag as 1, as well as the same options. However, because I haven't got the real application running my server machine just responds with a TCP packet with ACK=1 and RST=1, and no options.

My question is how do I code in vb.net the receipt of these packets from the client and respond with the correct flags and options? There are some good tutorials online for coding client/server communications using the Sockets class and I've got as far as I have by following these but none of them explain how to set flags and such. I suspect what I'm trying to do is at a lower level. Do I even need to manually create these packets?

I'm a bit out of my depth so any help would be very gratefully received!
AnswerRe: Replicate Application Network Behaviour Pin
Dave Kreskowiak1-Oct-09 1:16
mveDave Kreskowiak1-Oct-09 1:16 
GeneralRe: Replicate Application Network Behaviour Pin
phil24151-Oct-09 4:17
phil24151-Oct-09 4:17 
GeneralRe: Replicate Application Network Behaviour Pin
Dave Kreskowiak1-Oct-09 8:57
mveDave Kreskowiak1-Oct-09 8:57 
GeneralRe: Replicate Application Network Behaviour Pin
phil24155-Oct-09 3:19
phil24155-Oct-09 3:19 
QuestionDataGridView ComboBox column sub value from anther ComboBox column in the same grid? Pin
BiGBoy930-Sep-09 23:18
BiGBoy930-Sep-09 23:18 
AnswerRe: DataGridView ComboBox column sub value from anther ComboBox column in the same grid? Pin
Dave Kreskowiak1-Oct-09 3:59
mveDave Kreskowiak1-Oct-09 3:59 
GeneralRe: DataGridView ComboBox column sub value from anther ComboBox column in the same grid? Pin
Henry Minute1-Oct-09 7:46
Henry Minute1-Oct-09 7:46 
GeneralRe: DataGridView ComboBox column sub value from anther ComboBox column in the same grid? Pin
Dave Kreskowiak1-Oct-09 8:55
mveDave Kreskowiak1-Oct-09 8:55 
GeneralRe: DataGridView ComboBox column sub value from anther ComboBox column in the same grid? Pin
Henry Minute1-Oct-09 9:20
Henry Minute1-Oct-09 9:20 
QuestionRecord output sound Pin
Gagan.2030-Sep-09 19:17
Gagan.2030-Sep-09 19:17 
QuestionHow to convert existing c/c++.net projects into vb.net Pin
jenica8130-Sep-09 17:25
jenica8130-Sep-09 17:25 
AnswerRe: How to convert existing c/c++.net projects into vb.net Pin
N a v a n e e t h30-Sep-09 17:53
N a v a n e e t h30-Sep-09 17:53 
AnswerRe: How to convert existing c/c++.net projects into vb.net Pin
εїзεїзεїз30-Sep-09 20:24
εїзεїзεїз30-Sep-09 20:24 
QuestionCan not get security code from an Keyboard Wedge Ibutton reader ( ps/2 ) Pin
andre de jong30-Sep-09 11:28
andre de jong30-Sep-09 11:28 
AnswerRe: Can not get security code from an Keyboard Wedge Ibutton reader ( ps/2 ) Pin
Dave Kreskowiak30-Sep-09 14:42
mveDave Kreskowiak30-Sep-09 14:42 
GeneralRe: Can not get security code from an Keyboard Wedge Ibutton reader ( ps/2 ) Pin
andre de jong1-Oct-09 0:32
andre de jong1-Oct-09 0:32 
GeneralRe: Can not get security code from an Keyboard Wedge Ibutton reader ( ps/2 ) Pin
Dave Kreskowiak1-Oct-09 1:10
mveDave Kreskowiak1-Oct-09 1:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.