You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ,
I am trying to use this library on browser.
On node the imap client is working fine.
But no luck on browser.
I am getting Error: Runtime does not offer TCPSockets!
on chrome for tcp-socket package.
I have used the first usage code of tcp-socket on your npm page.
Help me out .
yes, that's the intended behavior. node has native tcp sockets and native tls, so that's no problem. on a regular browser, you don't have tcp sockets. they are only available in some priviledged environments (e.g. chrome apps, firefox packaged apps, windows apps 8.1+). if native tcp sockets are not available, we fall back to socket.io tunnelling. seems like you have socket.io support in your app via the io global.
you could make your webserver the socket.io proxy for your application, or ... use platforms that support the native sockets
Hi ,
I am trying to use this library on browser.
On node the imap client is working fine.
But no luck on browser.
I am getting Error: Runtime does not offer TCPSockets!
on chrome for tcp-socket package.
I have used the first usage code of tcp-socket on your npm page.
Help me out .
Link
`https://gist.github.com/Akash-dvd/84beb892938e1f2c8eee
The text was updated successfully, but these errors were encountered: