0 votes

Hi there,

Been trying to work out the Mail.DLL and Proxy.DLL lately as I might be interested in using them.
Found out that there is no socket type / namespace according to my Visual Studio?

Any idea why this might be happening?

        IProxyClient PMSProxy = PMSFactory.CreateProxy(ProxyType.Http, PMSIP, 8800);
        Socket PMSSocket = PMSProxy.Connect(EMSServer, EMSServerPort);

Any idea why this might be happening?

https://i.gyazo.com/bb8ea32e44282bfa7b8baa8fdf514b54.png

Hope someone is able to help me out.

by (200 points)

1 Answer

0 votes

Scoket class:
Namespace: System.Net.Sockets
Assembly: System (in System.dll)

Double check you are using full .NET framework and not the client profile version. In Visual Studio go to project properties/Application and specify 'Target Framework' as '.NET Framework 4.5' or higher.

by (301k points)
Thank you for answering this, found my mistake :) You guys are quick.

Any tips for connecting with your libraries to GMail?
Have not been able to quite nail it yet.
Enable IMAP in Gmail should help:
https://www.limilabs.com/blog/enable-imap-in-gmail
...