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
ADVERTISEMENT
Jul 21, 2011
I am developing an application which will keep track of various information about medical practitioners that are affiliated with my place of work. One thing that we are tracking, is their availability by time of day (morning, afternoon, and evening) for each day of the week (monday - sunday). Additionally we will store an optional comment about the practitioners availability, something like "Does not work during full moon."
The input/display form for this information will be table with days of the week as column headers, and times of the day as row headers. Check boxes will indicate whether the practitioner is available during the specified time.
I am having a hard time figuring out how to store this information in the database. The most obvious solution to create a table with 24 columns (21 for 7 days * 3 times, 1 as the primary key, and 1 for the foreign key referring to the practitioner, and 1 for the comment). Which is a crappy table, but at least it's easy to select and update.[code]....
View 2 Replies
Nov 17, 2009
I have a program that copies files to several servers in succession. If one of those servers is unavailable for any reason, my program hangs for about a minute before it continues on to the next server. Is there a quicker way to determine if the path is available or not?
View 7 Replies
Feb 19, 2009
I am trying to make a little app that will tell me if my servers are online or offline, currently I am using my LAN to test my servers when this app is working then I will be adding IP Address from other hosts that are not on my LAN First of all I have got this working fine if I use a button for every server test but I don't really want that I want them all working from one click
[code]....
View 1 Replies
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Apr 15, 2010
I have an ASP.NET MVC project that works fine on my local machine (no build errors, server errors or anything). However, when I publish the project to a test server, I get an "Object reference not set to an instance of an object" error on a For Each I have in my view.
[Code]...
View 1 Replies
Jul 27, 2010
So I want to test one of my Functions in my Web Project, but it's not actually connected to anything in the project yet (someone else is working on that part). The Function takes in an "ID" field, goes off and does some queries and gets some data, performs some calculations on it, and then writes a bunch of lines to a FileStream and returns that stream. I pretty much just want to test it by having it write the file to my own computer locally, and working with that file directory after the Function completes.
So my question is mainly:
1) How do I call this Function just for testing purposes so I can test all the queries/calculations/File writes, etc without it being connected to another part of the application just yet.
2) How can I change the 'Return fs' for the FileStream to write to my own computer locally to view the file that has been written.
View 2 Replies