Communications :: Auto-detect Dns Server Ip?

Jan 29, 2009

retriving the DNS server ip of my computer. But with my codes i only manage to the IP address of my computer.

Dim IPAddress As IPAddress = Dns.GetHostEntry(Dns.GetHostName).AddressList(1)
Dim strIPAddress As String = IPAddress.ToString
TextBox3.Text = strIPAddress

View 1 Replies


ADVERTISEMENT

Auto-Detect IP Address?

Mar 15, 2012

I have a remote database that will be accessed through a client program. The thing is, I want the client to auto detect the IP Address of the machine where the database is located, so that when I initialize the value of my connection string it would be like this:

Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\AutoDetectedIpAddressfoldermyDatabase.mdb;User Id=admin;Password=;

In that way, the client program will automatically connect to the remote database whatever the IP Address of the machine where the remote database is.

View 4 Replies

How To Auto-Detect USB Drive [2008]

Dec 10, 2008

How to detect USB Drive (Stick) when plug/unplug in real time ?ps like : show drive label in textbox , " if plugged text1.text = E: " and " if unplugged text1.text = "" " in real tim

View 2 Replies

Program That Auto-detect The Verification Code

Apr 20, 2009

Is there anyway to make a program that auto detect the verification code ..like when sign up for a site..because i want to make a program like roboforum.

View 11 Replies

Communications :: Basic TCP/IP Server

Dec 6, 2006

[code]...

The &H30D? i know its a hexadecimal value and may represent a message but i cant find anything about why someone would need to use one, and not just "As Integer = 703". I've found nothing in the VB.NET library or windows messages/functions docs.

View 5 Replies

Communications :: Limitations Of A Tcp /udp Server

May 27, 2010

For my next project i'll have to create a TCP or UDP server based application. I know how to program a server but i am interested on the limitations of such servers.

how many connections a server may be able to handle at the same time. I suspect that this limitation is based on the type of transfer and how much data or how often it is send to the server.

I also read somewhere that a windows program is limited to 25 threads (connections) per core so if i would have a quad core i can have a maximum of 99 connections granted that the server itself is also a thread. Is that correct?

If the above is correct i wonder how to handle let's say 200 users at the same time. There must be some form / way to handle bigger request loads.

View 3 Replies

Communications :: Polling A Server For A Value Using TCP

Jun 3, 2008

We have a server in the building that we can poll for barometric pressure using TCP. Another developer uses LabVIEW to do this, so it may be a little more straightforward for him.

Here are the instructions:[CODE...]

View 13 Replies

Communications :: Writing To A FTP Server?

Dec 2, 2008

I have a real time application (by real time I mean physiological SLOW data) not ultra-fast gaming... and I would like to serve the parameters I read to an FTP server (website) so that the data can be reviewed remotely.

I have seen a few tools out there that will do the trick, but was wondering if anybody here has experience with this, and what path(s) you recommend I take to do this in the simplest of fashions.

View 1 Replies

C# - Handling Client/server Communications Over TCP?

May 25, 2011

I'm setting up a basic TCP client/server system and I'm wondering how the back-and-forth communication should ideally work. In my specific situation, the client will have to submit login credentials, and make specific requests from the server (the server interacts with a remote database).Here is what I would THINK to do.. and I'm just looking from input from other devs.

SERVER: Wait for new connections
CLIENT: Connects to server
CLIENT: Once connected, send login credentials with an instruction code.

[code]....

And another scenario.. let's say the client wants to request a log of what's happened on the server recently (the text of a console application window).

CLIENT: Send request message to server for recent log
i.e. $REQ$,105
SERVER: If instruction = $REQ$ and request id = 105, get window text and send to client
i.e. $DATA$,105,<data here>
CLIENT: If instruction = $DATA$ and data id = 105, parse data and display to user

The data being requested could be plain text, or a .net datatable translated into XML, etc. It could be a variety of things.

View 1 Replies

Communications :: Displaying Jpg Images From Web Server

Jan 11, 2010

A webserver periodically sends JPG images from a webcam via HTTP post. How do I open and display the images on a VB form from an another computer?

View 2 Replies

Communications :: Sending Packet To Server

Apr 12, 2012

i want ask how i can send hex packet to server .i am able to connect IP and port [code] here we can see that for 3 hex 33 is used and for char "." 00 07 13 and many others are used and for its 0F used [code] it sends same Hex for each "." in packet but i want to send other values as there in original/so i want to create a byte to send from hex code/

View 2 Replies

Communications :: Server / Client Chat?

Aug 18, 2010

I have been searching far and wide for knowledge regarding how to make a server program with a client program.Think like Msn ( Messenger ) You have the client and you send a message which is then send through the client to the server, and then to some other client (a friend might be ).I want to make a semilar program where ill make the server and the client myself, i just need a hint or two to get started.

View 1 Replies

Communications :: Test Availability Of Server?

Jul 26, 2010

This is in reference to my previous thread :

[URL]

Is there any way to detect if the DNS server is not responding for sure. That is because if I ping the server while my torrent downloads are in progress, I get a "Request timed out".

View 3 Replies

VS 2010 Server/Client Communications?

Jul 19, 2011

I have started to learn how to use the TcpListener class to create a server/client chat facility, But im having some issues as to how to perform this at the moment i have the following code for the server.

Dim counter As Integer
serverSocket.Start()
ListBox1.Items.Add("Server Started!")
counter = 0
While (True)

[Code]...

Client Accepted (I understand would most likely need a new thread for each client who is accepted, Once accepted , Return to the main loop to check for more clients.) No Client Connecting I understand that this may have to be done in a thread but ive not looked into using a seperate thread for this to infinitely run.

View 1 Replies

Communications :: Basic Server With TCPListener - Not Responding

Apr 3, 2009

I am trying to build a sort of basic server thing and I cannot seem to get the thing to work properly. I have a client and a server. The client sends a string, the server receives then replies. I cannot get the server to continue responding.
It works in one direction Client -> Server
But because the server is continuously listening the form becomes not responding, thus I cannot send messages from the server. Although it says that its not responding I know that it is just using all of the processing for listening because when I send something from the client the server responds, just the form is stuck because of the listener.

View 1 Replies

Communications :: Download File From Apache Server?

Mar 23, 2010

I recently set up an apache server in a small computer (its an ALIX board) and i need to download some files that are going to be stored in that machine. The web server is running and I can create a file called "moo.txt" and if i go to the web browser I can see its contents Now, I need to create a vb.net application to communicate with this machine and download that file So far I have tried the following

Code:
Imports System.Net
Imports System.IO
Module Module1

[code]....

This gives me "error accessing site an exception occurred during a WebClient request"

View 1 Replies

Communications :: Execute Command Remotely On Server

Mar 16, 2010

I have been searching for a good code example that will place a small server program on my server and then allow me to use a client on my pc that will tell the server program to run a batch file on the server.

I thought this would be simple... I am finding it not that easy.

We have a server that users need to execute a command on however we do not want them to have login rights to the server so this will allow them to execute the batch file without having to log in.

View 1 Replies

Communications :: Multi Client - Single Server ?

Mar 21, 2010

Developing an application that will serve as an application server (Similar to 'Run Advertised Program' that is present in Windows Server). The downside to using Microsofts current system is that it a) requires Windows Server and b) Works only with systems setup in a proper Domain. I have a number of systems in my house and I'm fed up of downloading from the net or setting up network drives etc etc. I've tried using the code in a similar topic posted a few threads down, but it obviously doesn't support multiple client connections.

View 9 Replies

Communications :: Reading Exchange Server Emails?

Oct 28, 2004

I am writing an application to grab attachments from messages in a particular folder in an Exchange server account and then process them. The processing of the attachments should be no problem, but what I don't know how to do is to connect to the Exchange server and access the messages.

What I would like to know is what references and imports I need, and how to access the various objects in the object model. I have been looking at CDO already, but I have had problems finding help on the Internet that is relevant to VB.NET.

For example, I'd like to know how to create the Exchange object, log in and navigate to the folder that has the relevant messages in it.

View 1 Replies

Communications :: Socket - Connecting To Port 80 Of Server

Apr 21, 2008

I am new to socket communication. I found a few samples on the web and I managed to make my own host-client communication but i wanted to go a bit further and connect to port 80 of a server and it was just a disaster! First of all I know I can just use the functions that vb has itself but I want to make my own connections ... I have got some reasons I need this one! Do I really have to make them "connect" or just somehow without connecting I get the data? So I'm stack at the point that the connection is made ... it refuses to connect.

View 7 Replies

Communications :: Track Entities Id's From Client To Server?

Apr 17, 2012

Well first off let me say I am not sure if this should be in network or game programing but I think network programing is more relevant.

Anyway

I am creating my first game that runs over a network and so far everything is working. I have a server program, the clients can connect and see each other flying around. (weeeee)

However I have hit a wall when trying to make them shoot. The most easy way I can think to do this, is to have the client tell the server �hay i need a bullet pointing at x angle moving at y speed� the server then spawns a bullet entity then sends a spawn entity packet to all the clients. The main problem I see with this, is that the clients gun will have a delay based on latency.(funValue -= 1000)

The only other way I can think to do this, is to have some fake bullets spawn on the client but when the client gets the spawn bullet packet from the server, I am not sure how to keep track of what fake bullets to delete.

View 1 Replies

Communications :: User Disconnection Not Informing Server?

Nov 30, 2008

At work we use External USB Modem for the users that are reporting on site, as there is non working on a chat program to link all users together, both the Server and Client are working fine over the internet, but Ive hit a snag andnot to sure how to go about fixing it.If a user closes the program data arrives to the server which is Zero in length this signifies to the server that the user has disconnected and all other users that are connected are informed of this.

View 3 Replies

Communications :: Bare Bones Client & Server Apps?

Mar 31, 2010

After three days research, I'm having trouble finding a simple sample app that will work as a server and wait for an ethernet connection request. When it gets one, it should complete the connection, then wait for another connection request.

View 1 Replies

Communications :: Downloading Random Text File From Server

Apr 23, 2009

I'm working a program, which will download files from my server. But I need, program will download random files from text file on server, for example: I have [URL].

In links.txt are these links:
[URL] .....

If I run a program, it will download first link, after finish download it will download fifth link, second link etc. Downloading of one link works fine for me, but I need download more links...

Code:
theRequest = WebRequest.Create("[URL]")
So I need: theRequest = WebRequest.Create("RANDOM LINK")

View 2 Replies

Communications :: Webclient Asyncdownloadfile - Lock Up The UI When It Is Connecting To The Server

Dec 15, 2008

works fine for my purposes for checking for a new file version, but it still locks up the UI when it is connecting to the server. Once it connects, the UI unlocks but I'd like to eliminate the brief 3 second lag it causes.

View 2 Replies

Communications :: Write A Server That Can Communicate With Multiple Clients Through Tcp/ip?

Feb 10, 2010

I'm new to network programming and i'm trying to write a server that can communicate with multiple clients through tcp/ip, the clients need to communicate with the server to and with the other clients. Currently i've got a client server program that works fine for only one client:

[Code]...

I'll guess to accept multiple clients i have to create some clienthandler class at server side, but i have no idea which code it has to contain, i've already spend hours searching on google but didn't find anything usefull. Can somebody help me with this ?

View 1 Replies

Communications :: [VB2008] Find The IP Address Of A Game Server

Mar 17, 2009

I whould like to find the IP address of a game server that sends UDP packets to my PC. Of this server I know the fixed Port number, but not the IP address

I can read the netstat -anp udp data and store them in a text file... but this command don't displais the IP Address and the Port number of the external servers, only lots of asterisks

the question is: how to retrieve this IP address?

View 2 Replies

Communications :: Client-server Communication Program - Click On CmdListen In The Server Form And CmdConnect In The Client Form

Jul 23, 2008

The problem I have is: When I click on cmdListen in the server form and cmdConnect in the client form,both programs won't respond and they crash for some reason I don't know.

Client source code:

Code:

Imports System.Net.Sockets
Imports System.Text
Public Class Form1

[CODE]...

Code:
Imports System.Net.Sockets
Imports System.Text
Public Class Form1

[CODE]...

View 3 Replies

Not Detect Sql Server In To The VB

Sep 5, 2011

When i add new connection in to the server explorer. The Server in sql not detect in to the VB. when i use this code for the connection string: "Data Source=192.168.254.100,1069;Network Library=DBMSSOCN;Initial Catalog=DRRM_Student_Files;User ID=Ryan;Password=ryanescal;"

View 14 Replies

Detect A Located Server?

Sep 1, 2010

I did a little research to find a source that would check the proxy server whether if the server is a located at government or fbi's server, but I couldn't find what I am looking for.

View 10 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved