HighTechTalks DotNet Forums  

How to use JDK 1.4 functionnalities under .NET J# ?

Dotnet VJSharp microsoft.public.dotnet.vjsharp


Discuss How to use JDK 1.4 functionnalities under .NET J# ? in the Dotnet VJSharp forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Stéphane Postollec
 
Posts: n/a

Default How to use JDK 1.4 functionnalities under .NET J# ? - 03-31-2005 , 12:35 PM






Hi,

I'm writing some code for transferring datas between a C++ code (as
Server) and a J# code (as Client) with a Socket.
It works well but i realize that the size of my receiving buffer (in the
J# program) are very small.

I use java.net.socket and i know that there is a function call
SetReiceiveBufferSize() to specify the size of the buffer. But the
problem is that this functionnality is in the JDK 1.2 version whereas
the JDK in .NET is 1.1.4 !

Thus i'm looking for a solution to :

- update the JDK included in .NET to be compliant with the 1.4 java JDK
(the official)
- or a method to set the size of the receiving buffer for a java.net.socket

Thanks in advance.

Stephane

Reply With Quote
  #2  
Old   
Manuel J. Goyenechea
 
Posts: n/a

Default Re: How to use JDK 1.4 functionnalities under .NET J# ? - 04-02-2005 , 03:16 AM






You can use the .NET Framework APIs and not use java.net.Socket.

http://msdn.microsoft.com/library/de...mberstopic.asp

Have fun...

"Stéphane Postollec" <stephane.postollec (AT) fleximage (DOT) fr> wrote

Quote:
Hi,

I'm writing some code for transferring datas between a C++ code (as
Server) and a J# code (as Client) with a Socket.
It works well but i realize that the size of my receiving buffer (in the
J# program) are very small.

I use java.net.socket and i know that there is a function call
SetReiceiveBufferSize() to specify the size of the buffer. But the problem
is that this functionnality is in the JDK 1.2 version whereas the JDK in
.NET is 1.1.4 !

Thus i'm looking for a solution to :

- update the JDK included in .NET to be compliant with the 1.4 java JDK
(the official)
- or a method to set the size of the receiving buffer for a
java.net.socket

Thanks in advance.

Stephane



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.