Client/Server network code plugin?

Posted on 2004-11-24
Last Modified: 2013-11-18
I am writing a multiplayer game.  I have a server that handles all of the data for the game, and a client app that does all of the 3D rendering and input control...

What I'm looking for is 2 things really, but combined they are one package:

Client/server network code, with a server-side module, and a client-side module, that I can put in to the respective projects so the server will listen for multiple connection attempts from many clients, and establish/maintain the connections.

Once the connections are made, I should have no problem doing the data transfers/sharing between the clients and the server... I just need the threads/sockets to be created and connected...

All I'm really looking for are links to pre-existing code, preferably free, that I can plug in to my projects... but if you have the modules and want to just paste the code in to your answer, that would be good too. :)
Question by:EagleEye1975
    LVL 6

    Accepted Solution

    LVL 6

    Expert Comment

    Here is a (not-free) 3rd part component Google found.
    LVL 2

    Author Comment

    That eggheadcafe one I had seen and played with... it's just example code to build your own module around.  I was looking for more of a class or module that I could simply plug in and call once on the client saying "connect to (ipaddress)" and then use that connection from then on...  If it was a class, that would be even better... create new instance of the class, then do all communication with the server via that instance...

    Dim ServerConnection as new NetworkClientClass

    that sort of thing...

    and the server would have a completely encapsulated class for listening for however many client connections it could handle...

    Dim ServerNetwork as new NetworkServerClass


    Yadda yadda...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
    It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now