Hello everyone!
I have definitely lost a lot of my knowledge of VB and VC#, so I was hoping someone could help me clean up/speed up an old socket program of mine. Pretty much what it did was allow for 2 computers on the same LAN to communicate with each other. If you understand code, message me for the source and you will understand much better.
Heres what it does:
Gets all the computers in the LAN, and checks each's computer's port(65535) to see if it is open to communicate. If it is, the program adds it to a list that is "Other Users Running this Application."
From this list, or the list of ALL computers on the LAN, it allows you to send a message to them. If it is a basic text message, it will show an alert message on their screen. If it is a coded message, (example: "SHELL:logoff") it will execute it based on the code.
It works just fine, but not well enough. The issues that are being encountered are that the application will often just go un-responsive and be forced to quit. Also sometimes messages send SUPER slowly. Lastly, (this one doesn't matter as much) my users want more control(example: viewing someone's screen, or processes and killing them.).
Right now if anyone is up to it, I would happily send them my current source code(written in Visual Basic) and they can clean it up, or add to it.
----- For those who may know a better way to 'communicate' without sockets or using a different method:
I would love to see code, or here about a different way to send messages between computers without the need for a master 'server' that is always running.
Please, if you know how, communicate to me how I can achieve this in any way, shape, or form better, faster, or smoother.
I have definitely lost a lot of my knowledge of VB and VC#, so I was hoping someone could help me clean up/speed up an old socket program of mine. Pretty much what it did was allow for 2 computers on the same LAN to communicate with each other. If you understand code, message me for the source and you will understand much better.
Heres what it does:
Gets all the computers in the LAN, and checks each's computer's port(65535) to see if it is open to communicate. If it is, the program adds it to a list that is "Other Users Running this Application."
From this list, or the list of ALL computers on the LAN, it allows you to send a message to them. If it is a basic text message, it will show an alert message on their screen. If it is a coded message, (example: "SHELL:logoff") it will execute it based on the code.
It works just fine, but not well enough. The issues that are being encountered are that the application will often just go un-responsive and be forced to quit. Also sometimes messages send SUPER slowly. Lastly, (this one doesn't matter as much) my users want more control(example: viewing someone's screen, or processes and killing them.).
Right now if anyone is up to it, I would happily send them my current source code(written in Visual Basic) and they can clean it up, or add to it.
----- For those who may know a better way to 'communicate' without sockets or using a different method:
I would love to see code, or here about a different way to send messages between computers without the need for a master 'server' that is always running.
Please, if you know how, communicate to me how I can achieve this in any way, shape, or form better, faster, or smoother.