Click here to Skip to main content
15,887,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General.NET Training School in Bay area Pin
ReachAnshul18-Nov-02 17:55
ReachAnshul18-Nov-02 17:55 
GeneralJava in comparison to C++ Question Pin
Swinefeaster18-Nov-02 17:51
Swinefeaster18-Nov-02 17:51 
GeneralRe: Java in comparison to C++ Question Pin
Christian Graus18-Nov-02 17:58
protectorChristian Graus18-Nov-02 17:58 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster18-Nov-02 18:00
Swinefeaster18-Nov-02 18:00 
GeneralRe: Java in comparison to C++ Question Pin
Christian Graus18-Nov-02 18:12
protectorChristian Graus18-Nov-02 18:12 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster18-Nov-02 18:16
Swinefeaster18-Nov-02 18:16 
GeneralRe: Java in comparison to C++ Question Pin
S van Leent19-Nov-02 7:31
S van Leent19-Nov-02 7:31 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster18-Nov-02 18:24
Swinefeaster18-Nov-02 18:24 
so then, would the following work:

public boolean receiveAndUnmarshallInvoke(CRmiInvokeMessage InvokeMessage,
ServerSocket ListenSocket, Socket TheClientSocket)
{
boolean success = false;

if(TheSocket == null)
{
System.err.println("Null TheSocket passed in CRmiCommunicator.receiveAndUnmarshallInvoke().");
}
else
{
TheClientSocket = ListenSocket.accept();
}

return success;
}

Err, as in, the caller passes in a local client socket object for the TheClientSocket parameter, and when the function returns, the caller's local object is now the accepted client socket?

Thanks,

swine

Check out Aephid Photokeeper, the powerful digital
photo album solution at www.aephid.com.
GeneralRe: Java in comparison to C++ Question Pin
Christian Graus18-Nov-02 18:59
protectorChristian Graus18-Nov-02 18:59 
GeneralRe: Java in comparison to C++ Question Pin
Joaquín M López Muñoz18-Nov-02 19:57
Joaquín M López Muñoz18-Nov-02 19:57 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster18-Nov-02 20:17
Swinefeaster18-Nov-02 20:17 
GeneralRe: Java in comparison to C++ Question Pin
Joaquín M López Muñoz18-Nov-02 20:52
Joaquín M López Muñoz18-Nov-02 20:52 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster18-Nov-02 21:21
Swinefeaster18-Nov-02 21:21 
GeneralRe: Java in comparison to C++ Question Pin
Joaquín M López Muñoz18-Nov-02 21:59
Joaquín M López Muñoz18-Nov-02 21:59 
GeneralRe: Java in comparison to C++ Question Pin
S van Leent19-Nov-02 7:36
S van Leent19-Nov-02 7:36 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster18-Nov-02 21:58
Swinefeaster18-Nov-02 21:58 
GeneralRe: Java in comparison to C++ Question Pin
Alexandru Savescu19-Nov-02 4:18
Alexandru Savescu19-Nov-02 4:18 
GeneralRe: Java in comparison to C++ Question Pin
Alvaro Mendez19-Nov-02 5:25
Alvaro Mendez19-Nov-02 5:25 
GeneralRe: Java in comparison to C++ Question Pin
Swinefeaster19-Nov-02 14:29
Swinefeaster19-Nov-02 14:29 
GeneralMouse hover question Pin
David Ensminger18-Nov-02 16:42
David Ensminger18-Nov-02 16:42 
Generala question about two CPU... Pin
liuty200618-Nov-02 16:27
liuty200618-Nov-02 16:27 
GeneralRe: a question about two CPU... Pin
Christian Graus18-Nov-02 16:59
protectorChristian Graus18-Nov-02 16:59 
GeneralRe: a question about two CPU... Pin
liuty200618-Nov-02 17:57
liuty200618-Nov-02 17:57 
GeneralRe: a question about two CPU... Pin
Christian Graus18-Nov-02 18:01
protectorChristian Graus18-Nov-02 18:01 
Questiontrigger erase of background? Pin
Anonymous18-Nov-02 16:25
Anonymous18-Nov-02 16:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.