hi,
I use firebird 1.5 ,.net 2.0 and data provider for .NET compact framework
2.0 .

I have same exception on pocketpc . I don't understand fix and what can i
do.
This is very important for me.

please help me.




Kazuhiro Kato wrote:
> 
> Hello Carlos
> 
> I find problems with .NET 2.0 Firebird .NET DataProvider 2.0 Beta 4.
> and fix it.
> 
> With PocketPC , .NET 2.0 DataProvider 2.0 raise exception
> "No message for error code 335544721 found." at connection to server.
> 
> Exception raised in
> source\FirebirdSql\Data\Client\Gds\GdsConnection.cs : 80
> socket.SetSocketOption(SocketOptionLevel.Socket,
> SocketOptionName.ReceiveBuffer, packetSize);
> 
> Pocket PC not support setsockopt SO_RCVBUF option
> 
> see
> Windows CE 5.0
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecomm5/html/wce50consol_socket.asp
> Windows CE 4.1 (Pocket PC)
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcewinsk/html/_wcesdk_setsockopt.asp
>  SO_RCVBUF Note   This option is only supported for SOCK_DGRAM sockets.
> 
> please fix GdsConnection.cs
> 
> #if (!NETCF) // PocketPC , WindowsCE 4.1 Not suppoort  setsockopt
> SO_RCVBUF
> // Set Receive Buffer size.
> socket.SetSocketOption(SocketOptionLevel.Socket,
> SocketOptionName.ReceiveBuffer, packetSize);
> 
> // Set Send Buffer size.
> socket.SetSocketOption(SocketOptionLevel.Socket,
> SocketOptionName.SendBuffer, packetSize);
> #endif
> 
> --
> Kazuhiro Kato ([EMAIL PROTECTED])
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Firebird-net-provider mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
> 
> 

-- 
View this message in context: 
http://www.nabble.com/.NET-2.0-Provider-on-PokcetPC-connect-error-tp2858771p19795509.html
Sent from the firebird-net-provider mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to