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


ADVERTISEMENT

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

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 :: 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

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

Writing To SQL Server?

Aug 21, 2009

I am throwing up my hands here a bit. I am long time VB programmer that "scuttled the ship" and moved to VB.NET recently. I have purchased a small fortune in some good books and read large swaths of them. I have also watched numerous online video, Beth Massi, etc. I have learned quite a bit. But I am really lost when it comes working with SQL Server. Do I use bound grids? Do I use datasets? Why would I not use a bindingset? How do I iterate over the retrieved dataset, the list seems to go on an on. It seems far to complicated to me. So here goes. I have a form to enter a vendors info into. I want to connect to the SQL server and grab various fields on the form and perform an Insert. Can somebody show me simple straight forward code to do this and why I would do it this way vs. the other seemingly million ways. Also how about an Update call to (modify an existing vendor, I have a unique id I can query on in the table)? I can put in all the error checking (Trys) and such - its the connection call and gory details of this that seem to perplex me. I have recipe books that spend to much time on more complex things. I need simple.Also can someone recommend a good classroom training series for VB.NET in the greater Boston area.Learning from experts in person is best for me. I will be back later to ask about datagrids some.

View 11 Replies

Communications :: Send A Command Via RS232 Communications

Jan 26, 2009

I am using VB2008 Express and am curious how to send a command via RS232 communications. The string that I need to send is 02h PON 03h. The start and end bits are 02h and 03h.

How can I convert 02h and 03h to its ascii form. In hyperterminal, I use the sequence {(hold)ALT 0 0 2} on the number pad to send the start bit.

I am using this code currently without the start and end bits

Code:

View 8 Replies

Writing To HKLM (registry) On Server 2008 With .NET 2005?

Jul 6, 2009

I'm having a problem accessing HKLM\Software\Microsoft\Windows\CurrentVersion\Run on windows server 2008 from my vb.net 2005 app. I get "Can not write to .[...] access is denied" . It works fine on XP, server 2003 and vista.

Dim regKey As Microsoft.Win32.RegistryKeyregKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run", True)
Dim checker As Object = regKey.GetValue("Adon") 'if key does not exist create it

[code]....

View 1 Replies

Writing A Program With 1 Client And Server Where Client Side Creates A Text File

Dec 1, 2008

I have been reading through Atheists posts in regards to client-server and TCP client/server connection's. But how do i go about writing a program with 1 client and server where the client side creates a text file.Once the server sees there is a text file it connects and downloads it to itself or the client pushes the text file to the server.Once on the server i will read the text file and put its info into a sql db.

View 14 Replies

Communications :: Use Class As Dll?

Jul 21, 2011

I got a piece of code that I have to use as a class. It gets added to the project every time, the accessed from the code of the forms.

It is for ethernet communication to an industrial radio.

So right now it's a just a class called MK

Question:

Is it possible to compile a class into a DLL which then can be just referenced to each application?

View 1 Replies







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