- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
7 Posted Topics
Enumerate the directory and store into some memory entity (preferably string arrays). - QTDir & QTFile classes I believe. Establish a protocol between the two programs that communicate over the network. (I usually use structural headers & payloads) Send/Receive the paths of the file and start transferring chunks of data …
I'm interested in learning about memorystreams, streaming of bytes , byte arrays, buffers, ftp and how network streaming works, where can I learn this? Things like dim buffer as byte(3000) or dim fs as filelstream = file.read if fs > 0 then I think you understand what I mean, thanks!
This will fix it. [CODE]Dim inStream(clientSocket.ReceiveBufferSize) As Byte serverStream.Read(inStream, 0, clientSocket.ReceiveBufferSize) Dim returndata As String = System.Text.Encoding.ASCII.GetString(inStream)[/CODE]
Hello there, I'm having some trouble trying to converting images/characters/strings/data into a byte array and then send them. In C++, I already have established a connection between the client - server and would like to send and receive data. Now I'd like to send an install file which is like …
Hello, my name is David and I'm 17 years old. Just wanted to introduce myself to the community, I'm a very curious person who is interested in programming and anything that has to do with computers, regardless of subject. I'm not really a pro at programming but I can say …
Hello DaniWeb! How can I check the state of a socket to see if it's connected or not? [CODE] SOCKET sock = socket(AF_INET, SOCK_STREAM, 0); SOCKET client; //I know that this isn't binded to an address but nevermind that. client = accept(sock,NULL,NULL); if (client == [COLOR="Green"]HERE - Need to see …
[CODE]#include <iostream> #include <fstream> using namespace std; int main() { int x; cin >> x; ofstream textpad("notepad.txt") //ofstream is for writing data | ifstream for reading textpad << x << endl; //this is pretty much similar to cout << textpad.close() //close it return 0; }[/CODE] More information here at "Input/Output …
The End.