- CALCnet C# Library
- 20 Jan 2011 06:53:11 pm Permalink
- Last edited by merthsoft on 21 Jan 2011 01:45:22 pm; edited 1 time in total
So I've started working on a C# library that makes doing stuff with CALCnet on the computer pretty simple. As a demonstration I made a program to work with Chat!, here's a screen shot:
I need to do some more work with the code, and next I'm making a netpong client, but it should be ready to be released within a few days (depending on when I work on it). Here's some sample code to show how you use it:
Code:
So this creates a new calcnet object connecting to gcnhub.cemetech.net:4295, talking to IRCHub with the local name testname, and the given calc id (you have to make one up). It then connects to it, and then sends a broadcast packet with the calcID and the user name for Chat!.
It's pretty straight-forward to use. I don't know how useful this actually is to anyone, but it was fun to make

I need to do some more work with the code, and next I'm making a netpong client, but it should be ready to be released within a few days (depending on when I work on it). Here's some sample code to show how you use it:
Code:
var c = new CALCnet("IRCHub", "testname", "gcnhub.cemetech.net", 4295, CalcID);
c.Connect();
c.SendBroadcast(UserNameBytes);
It's pretty straight-forward to use. I don't know how useful this actually is to anyone, but it was fun to make
