send

How show a message over a fullscreen?

Hi guys, Well.. I want to do a thing, but I don't know how searching informations to do that. How can I send a message over the game's screen? For example: Just writing "Hello World" on a game running in fullscreen. I know C and C#, I'd like some tips how to do that. What a need to study etc. Thanks, I wait a response :) ...

C# asynchronous socket Begin/EndReceive questions

I've implemented a async funtion in order to read large socket data, mostly files will be transferred. Code is based on this question: public class StateObject { public Socket workSocket = null; public const int BUFFER_SIZE = 1024; public byte[] buffer = new byte[BUFFER_SIZE]; public StringBuilder sb = new StringBuilder(); } public st...

Using Winsock "send" function in Java (or similar)

Hi all, I have a feeling my problem is a bit strange, but here goes... I have a C++ program (from another organization) that interacts with a camera connected to hardware via Ethernet using sockets. On the surface, the initial function that sends a message to the socket is this: char* cmd = "#TRGON\x0d"; m_pClient->Socket_Write( (BYTE*...

Sending TCHAR buffer with send(sock, wszBuffer, ...)?

I have a wide-character XML message that I need to send over a Win32 socket in C++. TCHAR wszBuffer[1024]; Should I sprintf(szSendBuffer, "%S", wszBuffer) the wide character buffer to a char array before sending it? What is the correct way to send this? ...

can i send sms in my phone ? programically~!

Hi there i'm a newbee of iphone os sdk my question is that can i send sms in my phone ? programically~! yesterday, i found a example code and coded it. but the code gave me a sms dialog ( Internal sms program ). i just want to send sms programically without the interanl sms program is there any example code? thanks in advance ~! ...

Facebook android-accept request

Is there any way that we can accept/ignore a request invitation from facebook android sdk? I only can find how to attend/declined event invitation. /EVENT_ID/attending /EVENT_ID/maybe /EVENT_ID/declined how about the other request, like friend request, or request to join application? Thank you very much. Best Regards, Eve ...

How to send a file from client to server in Java

How do I send an image to a server for post-processing? From server to client is easy, but when it comes to the opposite, which is the best way to proceed? ...

How to send input to hidden program c++?

So my question is how to send some comands or input from one (c++) program to another if hi is on hidden mode? For example I want to open some text file in notepad with function WinExec("notepad", 0); and than want to print conetent of file, I make handle to that file, make sendinput with CTRL+P, and the window of printig show up,.... I ...

php mailer Mailer Error: Language string failed to load: connect_host?

I keep getting this error.. below is my code: <?php ini_set("include_path", "phpmailer/"); require 'phpmailer/class.phpmailer.php'; $mailer = new PHPMailer(); $mailer->IsSMTP(); $mailer->Host = 'smtp.gmail.com'; $mailer->Port='465'; $mailer->SMTPAuth = TRUE; $mailer->Username = '[email protected]'; // Change this to your gmail adress $m...

Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host

i have an update server that sends client updates through TCP port 12000, the sending of a single file is successful only the first time, but after that i get an error message on the server "Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host", if i restart the update service on...

sending ushort ulong byte data over tcpclient object

Hello ,My application in c# wants to cominicate with 3rd party Tcp server to send data and recieve back response messages ...The syntax of commands has UShort,ULONG,BYTE type datas a sample command that needed to send by my app is USHORT 0xFFFF USHORT 0x00D0 BYTE 0xDD then in app i send data as TcpClient tcpClient = new TcpClien...

Delphi: MAPILOGON ErrorCode 1

Hi! I tried with many versions of MAPISend, but I everytime got error in one place. The MAPILogon returns with errorcode 1. dwRet := MapiLogon(Handle, nil, nil, MAPI_DIALOG or MAPI_NEW_SESSION, 0, @MAPI_Session); I tried with "MAPISend component", this code: http://prog.hu/tudastar/60044-6/Delphi-Email+csatolt+file+thunderbird.html...

SMS raw pdu in Android

Hello, 1) Is there any way that I can send a raw SMS PDU from an Android device? Or, 2) are there any classes available that can give me access to the PDU headers (for example TP-DCS) so that I can construct the PDU as I like? I have searched the net and found: http://www.androidjavadoc.com/1.0_r1_src/com/android/internal/telephony...

check if sendsynchronousrequest was successful

hi all i just wanted to know if this is the right way to check if a sendsynchronousrequest was successful: NSData* returnData = [NSURLConnection sendSynchronousRequest:req returningResponse:nil error:nil]; if(returnData == nil) { //code showing an alertView for example } else { //do somthing else } thanks in advance for your ...

jQuery form doesn't send

I have this weird situation where my form doesn't send any data, but the page (which should only be displayed when the data is send) is shown. I have this code now [..] if(form == true){ var gender = $("input[@name='rgender']:checked").val(); var data = "name="+$("#name").val()+" $.ajax({ url: "http:...

How to send html content through ajax request?

I have a form with a textarea (tinymce) for input content. When I perform an ajax request, I got the error: A potentially dangerous Request.Form value was detected from the client Then I've tried something like html.encodeURIComponent() or escape() but the error is still here HTML: <form id="editForm" action="" method="post"> ...

Android: How to send and receive data SMS messages

I've found a few tutorials on how to send/receive text SMS messages, but none on how to send/receive data SMS messages. I have a very small amount of data I would like the users of my app to be able to share. I am able to send, but my BroadcastReceiver doesn't ever get called. It seems this is a known issue (http://code.google.com/p/an...

How can I add a menu item to launch the Send intent

Hi, I am trying to a menu item to launch the Send intent. This is what I did, I see the menu item but i don't see send intent launch when i select the menu item. public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { Intent sendIntent = new Intent(Intent.Action_Send); menu.add(Menu.NONE, 0...

PHP header() gets sent after ouput

Hello, Until recently, my LAMP was working as I expected and using PHP's header() to redirect behaved according to documentation. Out of nowhere, this changed. The problem can be seen here: <html> <head> <title> BLAH </title> </head> <body> <p> TEXT </p> <?php echo "BLAH BLAH BLAH"; sleep(10); header("Location: http://example.com")...

C: Sending long strings with send()

I'm using Linux and trying to send a long message through send(). The message is 1270 bytes, but my client application is only receiving 1024 bytes. Since 1024 bytes is such a convenient number, I'm guessing that send() can only send 1024 bytes at a time. I looked at the man page for send, but all it says about long messages is: Wh...