473,480 Members | 2,351 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Need help programming a network class or module for my programs.

kiseitai2
93 New Member
I'm sorry to cause trouble but I've been annoyed by this problem I'm facing. A few months ago I tried to create a server application to see if I could create one. Some time later, I started to see if I could create a simple 2d game and also set it up for internet play. Now I wanted to create a similar application to zbatttle.net because I haven't been able to fix the "Could not connect to server" error, so I decided to make it in VB.Net because the .Net framework seem more attractive and I handle better vb.

As you can see, I haven't created the class yet. My main problem is that I don't have any experience with the system.net. For the most recent project I tried to compile but it gave me the "Object reference not set to an instance of an object" error and using the New keyword didn't solve it. Searching the Internet I found a dll based on the .net framework but it only detected the local IP address when I actually need the Internet IP address.

So the main thing I need help on is detecting the Internet IP address for now. Then I'll see if it works with the dll I have. If it doesn't get to work I'll post it right away.
Oct 12 '08 #1
2 975
joedeene
583 Contributor
Perhaps using methods in the System.Net.Dns Class will be the key to your solution? :D Like take a look at this link to get an array of possible IP's

joedeene
Oct 13 '08 #2
kiseitai2
93 New Member
Thanks for the super quick reply! I'll play a litle with the code and see if I get the kind of results I want. I'll post back if I get stuck again.
Oct 13 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
3068
by: Jeff Wagner | last post by:
I am in the process of learning Python (obsessively so). I've been through a few tutorials and read a Python book that was lent to me. I am now trying to put what I've learned to use by rewriting...
8
6546
by: Radioactive Man | last post by:
I am fairly new to the latest verion of Python and using it on windows 95, 2000, and/or XP. What libraries, modules, functions, etc. would I need to set up a Python script to download a file, say...
1
1834
by: mch2k2 | last post by:
Hello All I have just started working on Pyhton. I need urgent help regarding Python Network Programming. I want the elctronic version of the Book: Foundations of Python Network programming by...
3
14843
by: Jay | last post by:
Hi, I implemeneted an FTP client and server long time back using Java. I found sockets porgramming in java quite useful and easy to handle. I now wanted to implement a similar program using C++....
6
2367
by: John Walton | last post by:
Hello, everyone. I just began school, and they already assigned us science fair. Since I'm in 8th grade, I get to do demonstrations for our projects. I'm probably going to demonstrate Python's...
10
1414
by: blah | last post by:
i m currently in a network (LAN). i started python because i heard that it has great ability for networking programs and/or scripts, but i m losing my motivation with python because there are sooo...
10
2004
by: Luke Meyers | last post by:
So, just a little while ago I had this flash of insight. It occurred to me that, while of course in general there are very good reasons for the conventional two-file header/implementation...
3
3195
by: billie | last post by:
RAW network programming under Windows it's not always possible because of the security limitations that microsoft introduced in the latest Windows versions and that affects WinSocket API. On UNIX...
43
3614
by: Adem24 | last post by:
The World Joint Programming Language Standardization Committe (WJPLSC) hereby proclaims to the people of the world that a new programming language is needed for the benefit of the whole mankind in...
0
7050
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6743
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6966
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5344
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4787
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4488
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1303
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
564
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.