Delphi Socket Error 10038
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss windows socket error 10038 the workings and policies of this site About Us Learn more socket error code 10038 about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack delphi socket error 10061 Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping delphi socket error 10060 each other. Join them; it only takes a minute: Sign up Undefined TIdFTP status after error 10038 “Socket operation on non-socket” up vote 0 down vote favorite I use a TIdFTP control to connect to an FTP server. It seems that my FTP connection is terminated by something (ftp server/firewall?) after 60 seconds of inactivity. Once the connection
Delphi Socket Error 10054
was terminated I cannot use the FTP control (TIdFTP) anymore because its status is undefined. For example, every time I try to REconnect I get the same (10038) error. However, FTP.Connected shows True. Trying FTP.Disconnect gives me a 'connection closed gracefully' error and the control remains connected. The only solution is to end the program and start it again. The NAT Keep Alive is already set to 15000. How to reset the status of the FTP control (how do I disconnect)? delphi ftp indy share|improve this question edited Aug 31 at 7:43 asked Aug 30 at 12:55 Silvester 7,818775179 2 @anonymous downvoter- I simplified the question so you can understand it:: "How to disconnect" –Silvester Aug 30 at 13:41 add a comment| 2 Answers 2 active oldest votes up vote 1 down vote accepted I use a TIdFTP control to connect to an FTP server. It seems that my FTP connection is terminated by something (ftp server/firewall?) after 60 seconds of inactivity TIdFTP has a NATKeepAlive property to avoid
by operation with sockets 10038
Socket Error 11004 Delphi
Pages 1 You must login or register to post a reply Topic RSS feed Posts [ 3 ] 1 Topic by apprentice novice 2013-04-29 06:24:45 apprentice novice Member Offline Registered: 2013-03-04 Posts: 10 Topic: Error by operation with sockets 10038 There http://stackoverflow.com/questions/39228118/undefined-tidftp-status-after-error-10038-socket-operation-on-non-socket is a device appearing the server there is a programunit Unit2; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms; Dialogs, ScktComp, StdCtrls, WinSock, Sockets, ExtCtrls; Type TKpp=class private TcpClient1: TTcpClient; input: TClientSocket; //output: TClientSocket; controler: TClientSocket; timer:TTimer; //procedure outputRead (Sender: http://www.progtown.com/topic1033633-error-by-operation-with-sockets-10038.html TObject; Socket: TCustomWinSocket); //procedure controllerRead (Sender: TObject; Socket: TCustomWinSocket); public output: TClientSocket; name, sin, s1in, Erro:string; procedure Err (Sender: TObject; Socket: TCustomWinSocket; ErrorEvent: TErrorEvent; var ErrorCode: Integer); procedure inputcon (Sender: TObject; Socket: TCustomWinSocket); procedure Read (Sender: TObject; Socket: TCustomWinSocket); function idtransfer (id:string):string; procedure setIPin (s:string); procedure setPortin (s:string); procedure InActivate (bool:boolean); procedure setIPout (s:string); procedure setPortout (s:string); procedure outActivate (bool:boolean); procedure setIPcon (s:string); procedure setPortcon (s:string); procedure conActivate (bool:boolean); procedure CheckIP; procedure clienttype (SokName:string; SokType:integer); procedure ding (Sender: TObject); constructor create; destructor destroy; end; implementation uses unit1, Thread; {TKpp} *** constructor TKpp.create; begin timer: = tTimer. Create (nil); timer. Interval: = 5000; timer. OnTimer: = Ding; timer. Enabled: = true; TcpClient1: = TTcpClient.create (nil); input: = TClientSocket. Create (nil); input. ClientType: = ctBloc
360 games PC games https://support.microsoft.com/en-us/kb/819124 Windows games Windows phone games Entertainment All Entertainment http://www.yqcomputer.com/1279_872_1.htm Movies & TV Music Business & Education Business Students & educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet socket error Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All delphi socket error Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
server, usin idFTP component. This app was send to some clients in different places. All they connect to the same ftp server normally, list de ftp directory contet, and download the apropriate files. But one of them report an error to us: when the idFTP list command was execute, the app generates an exception with the message "Socket Error # 10038 Socket operation on non-socket". The passive property is set to false, an no proxy is in use. What can cause this problem ? Top 1. WLAN Monitor 10038 Socket operation on non-socket 2. Errcode: 10038: Socket operation on non-socket on a slave. I'm using Bind 8.3.x on NT and am getting the error accept: Errcode: 10038: Socket operation on non-socket on a slave. I see that others have gotten this error from a search on the Internet http://www.yqcomputer.com/ that upgrading to 9.x does not solve this issue according to the poster. Anybody know what is causing this issue? I do see errors preceeding this about the slave serial numbers needing to zone transfer...but thats about it. Thank You very much. Michael 3. Socket Error 10038 on Multicast Socket 4. Socket probem,GetLastError returns 10038 (Invalid socket handle) 5. [crit] (OS 10038)Socket operation on non-socket: make_sock: for address 127.0.0.1:80, apr_socket_opt_set: (SO_KEEPALIVE) no listening sockets available, shutting down 6. Operating system error 10038., An operation was attempted on something that is not a socket. 7. Socket operation on non-socket 8. socket.sendall(), non-blocking sockets, and multi-threaded socket sending 9. Socket Exception: A non blocking socket operation could not be completed immediately. 10. Socket Exception: A non blocking socket operation could not be completed immediately. 11. "socket operation on non socket" on Windows 12. socket error 10038 13. FTP files not passing through (socket error #10038) 14. Remoting socket error 10035 non-blocking socket exception 1 post • Page:1 of 1 All times are UTC Board index Spam Report