+ Post New Thread
Results 1 to 3 of 3
Coding Thread, winsock / sockets in vb .net 2008 express in Coding and Web Development; Just as a simple app I wanted something where by I could install either a service or app that runs ...
  1. #1

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Thank Post
    Thanked 1,084 Times in 1,000 Posts
    Rep Power

    winsock / sockets in vb .net 2008 express

    Just as a simple app I wanted something where by I could install either a service or app that runs in the system tray that could use tcp or udp sockets to communicate with a server application that had a GUI where it would display to start with just some info about the connected client computers ie

    ip address, subnet mask, hostname , logged in username and maybe other info later on.

    I did find this but it is more aimed at a chat app

    Creating a Multi-User TCP Chat Application

    Getting a bit confused now as I tried that along with a code project example etc and am not sure what bits of code I require and dont require as I dont want to replicate the info from one client to other clients I am only wanting the server application to be able to view this info in a list view or something of the likes


  2. #2

    LosOjos's Avatar
    Join Date
    Dec 2009
    West Midlands
    Thank Post
    Thanked 1,227 Times in 835 Posts
    Rep Power
    Everything you need is in that article, although it's aimed at creating a chat app, all a chat app really is is two way text communication, all you need to do is make it one way. Your client app will contain all the code in the 'Sending Data' section, and your host app on the server will contain the code in the 'Receiving Data' section. The client will only be able to receive data if you tell it to and if another client is trying to send data to the IP address of the machine the client is running on, it won't automatically grab anything being transmitted.
    Last edited by LosOjos; 18th May 2010 at 09:16 AM.

  3. #3

    Join Date
    Aug 2010
    West Midlands
    Thank Post
    Thanked 1 Time in 1 Post
    Rep Power

    I would move away from TCP for something like this and use UDP instead (less overhead), you could then also look at using broadcasting rather than requiring the IP address to be hardcoded or configued in the transmitting side of the application. The use of broadcast messages would depend on your network infrastructure though,

+ Post New Thread

Similar Threads

  1. Moodle / Server 2008 / IIS7 / MS SQL Server 2008 Express
    By Kamran7860 in forum Virtual Learning Platforms
    Replies: 3
    Last Post: 23rd November 2010, 06:03 AM
  2. Replies: 4
    Last Post: 22nd March 2010, 08:32 PM
  3. SQL 2008 express
    By Boon72 in forum Windows Server 2008 R2
    Replies: 1
    Last Post: 3rd February 2010, 10:55 AM
  4. SQL Server Express 2008
    By damienharrison in forum Windows Vista
    Replies: 6
    Last Post: 13th March 2009, 11:26 AM
  5. Search Server 2008 Express
    By cookie_monster in forum Windows
    Replies: 7
    Last Post: 9th March 2008, 11:37 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts