Hi!
I'm building a client and a server program that exchanges data over TCP and I'm having trouble sending an ACK-confirmation from the server back to the client when an operation is successfull. I've managed to send a struct with various members from the client to the server, then the server should respond by sending an integer confirm...
Have a "check"?
For example...
I would have a dictionary with the parameters to sent to the POST.
params = {'text':'how are you?', 'subject':'hi'}
then I would have
opener.open('theurl',urllib.urlencode(params))
The question is...those parameters work well with text-boxes, since I just put the value in there. How about radio but...
Hi, I'm working on making an HTTP server for my class. But, the returned file is not being displayed by firefox. I construct a response header and put in the right content-length of the file I want to send, then I send the response headers with a call to send(). Next I use send() again to send the file, why is firefox not displaying t...
I am building a room booking system for my college and I would like to send out an email when a teacher books a room to remind them. I have found one on the internet at this link:
http://www.osix.net/modules/article/?id=377
But when I try and use that code I get an error: "Value of type 'String' cannot be converted to 'System.Net.Mail....
hi all,
i'm having a widget with a search-textbox. when pressing enter in it, search starts.
i now want to trigger that enter key by code. in other words, i want to send the enter-keystroke to the textbox.
how does it work?
thx
...
I'm writing a chat program and for the server, when I send data can the send() function take a long time to send out the data?
Here is my problem:
I'm using linux 2.6 with epoll, server in single thread
If send() blocks, then this means all other activity on the server will stop. Like if there is a very slow client that does not send AC...
I have a UDP server that I have being trying to send structures using send() method.. No luck so far...
This is what I am using:
H,G are structures...
sender side:
IFormatter formatter = new BinaryFormatter();
MemoryStream stream = new MemoryStream();
formatter.Serialize(stream, H);
Byte[] buffer = stream.ToArray();
stream.Close();
...
Hi geeks,
I want to send a file from my PC to a remote device connected through serial port. So is there any API in java to send file over serial port?
...
i am new to programming and i am confused about asynchronous socket programming.
for example lets say i have 2 BeginSend, one right after another.
the first sends a million chars and the secnd sends only 64 chars.
due to the asynchronous nature won't the second BeginSend complete before the first one?
if so how can i tell the recieve...
I am building a server-client program with c and having some problen wtih sendina a whole file with send() and recv() function. I need to send the whole file with these but all these functions can do is send a string. The main problem is with sending the exe or other binary formet data. Should I use htons or htonl func? I dunno how to u...
Hello,
when calling another UIView how can I send a value:
ServerSelect *neu =[[ServerSelect alloc] initWithNibName:nil bundle:nil];
[self presentModalViewController:neu animated:NO];
to this view?
Andreas
...
Hi
I have code,
System.Web.Mail.MailMessage oMailMessage = new MailMessage();
oMailMessage.From = strFromEmaild;
oMailMessage.To = strToEmailId;
oMailMessage.Subject = strSubject;
oMailMessage.Body = strBody;
SmtpMail.SmtpServer = "localhost";
SmtpMail.Send(oMailM...
I am using ms-outlook 2003, i want to hide the built-in send button and use the custom button to send the mail.
As i have worked on C,C++ and on Java, dont know how to work on VB/VBScript/VBA, can any body tell me how to hide this button and also how to send mail from custom button, how to access the fields of mail (ie., the TO field, S...
Can I send raw frames (low-level internet packets) in java ?
...
i am including a path to an image like this:
$msg.='<img src="http://my.test.ca/images/show.jpg" width="75" height="75" />'
in my sendmail function.
the path works and the image is in the specified folder.
here is what happens to the image src when i get the email:
http://my.test.ca/images/sh%20w.jpg
it sorts of breaks the image. ...
When I view outlook I see my mailbox but also additional "business function" mailboxes. One of these is "optingout"
I've written a console app that loops through several of these function mailboxes (by enumerating the folders in my session) and grabs all of the mails so I can then loop through them and take actions depending on the mail...
Hey, I have an application that uploads files to a server, but when I press upload it freezes until it is done, so I was thinking to make another form pop up that says uploading and does all of the uploading on that form nested of freezing that main form. But to do this I need to be able to send the selected information to that other for...
I'm developing a server application that asynchronously accepts TCP connections (BeginAccept/EndAccept) and data (BeginReceive/EndReceive). The protocol requires an ACK to be sent whenever the EOM character is found before it will send the next message. The accept and receive are working but the sending app is not receiving the ACK (sent...
Hi guys,
My program consists of 2 parts - A server socket (sits on port 3490) running on a different thread, and a client to test the server. Now the server has a pdf file, and I want the client to display it in a UIWebView. To achieve this I used the folllowing:
NSURLRequest *urlRequest = [NSURLRequest requestWithURL:[NSURL URLWit...
I working on a form whereby when the user enter in their email account and click on send, an email will be sent to their email account.
I have everything worked out. Just that it doesnt send the email to my account. Anyone have any ideas? Is there a configuration that I left out or something?
This is the sample from my controller:
pu...