Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
QuestionHow can i change the Form title bar color Pin
Zapss29-Oct-04 23:56
Zapss29-Oct-04 23:56 
AnswerRe: How can i change the Form title bar color Pin
Heath Stewart30-Oct-04 3:04
protectorHeath Stewart30-Oct-04 3:04 
GeneralUnload Pin
Anonymous29-Oct-04 23:05
Anonymous29-Oct-04 23:05 
GeneralRe: Unload Pin
Stefan Troschuetz30-Oct-04 0:15
Stefan Troschuetz30-Oct-04 0:15 
GeneralRe: Unload Pin
Heath Stewart30-Oct-04 3:19
protectorHeath Stewart30-Oct-04 3:19 
GeneralRe: Unload Pin
Heath Stewart30-Oct-04 3:25
protectorHeath Stewart30-Oct-04 3:25 
Generalconnection through proxy server Pin
Kamran Zafar29-Oct-04 22:35
Kamran Zafar29-Oct-04 22:35 
GeneralRe: connection through proxy server Pin
Heath Stewart30-Oct-04 4:01
protectorHeath Stewart30-Oct-04 4:01 
Your protocol has to be defined to work with proxies - it isn't automatic. The only advice anyone can really give you is to read the RFCs from http://www.ietf.com/rfc[^] for those proxy types to determine how you could include them along with your protocol definition.

HTTP, for example, allows for proxies. This is why the HTTP-related classes (like HttpWebRequest) support proxies (a la the WebProxy) in the .NET BCL. It's common enough to warrant inclusion in the .NET BCL. How other protocols work with proxies is up to the protocol authors. Many typically work the same (there's a lot of HTTP-like protocols, like SMTP, DICT, etc.) so I'd imagine the proxy support works the same, making it easy to use the same proxies.

What I'd recommend is using a good OO design to encapsulate your Socket client in a class and actually make use of the WebProxy for consistency (so people can reuse the same proxy; WebProxy also defaults to using the Internet Explorer settings for proxies, making it easy for your users to default to settings they might've already configured). You still need to work out how it'll work with your chat protocol, though.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralMdiWindowListItem in C# express beta Pin
benjymous29-Oct-04 21:04
benjymous29-Oct-04 21:04 
GeneralRe: MdiWindowListItem in C# express beta Pin
Heath Stewart30-Oct-04 3:51
protectorHeath Stewart30-Oct-04 3:51 
GeneralRe: MdiWindowListItem in C# express beta Pin
benjymous30-Oct-04 23:08
benjymous30-Oct-04 23:08 
GeneralRe: MdiWindowListItem in C# express beta Pin
Heath Stewart31-Oct-04 9:19
protectorHeath Stewart31-Oct-04 9:19 
GeneralStrange compile error Pin
steve_rm29-Oct-04 20:14
steve_rm29-Oct-04 20:14 
GeneralRe: Strange compile error Pin
Heath Stewart30-Oct-04 3:47
protectorHeath Stewart30-Oct-04 3:47 
Generalprocess.start problem Pin
Karl 200029-Oct-04 19:50
Karl 200029-Oct-04 19:50 
GeneralRe: process.start problem Pin
Heath Stewart30-Oct-04 3:45
protectorHeath Stewart30-Oct-04 3:45 
GeneralRe: process.start problem Pin
Karl 200030-Oct-04 9:23
Karl 200030-Oct-04 9:23 
GeneralRe: process.start problem Pin
Heath Stewart30-Oct-04 15:40
protectorHeath Stewart30-Oct-04 15:40 
GeneralRe: process.start problem Pin
Karl 20001-Nov-04 2:50
Karl 20001-Nov-04 2:50 
Generalabout dynamic image in the richtextbox Pin
oldhawkiu29-Oct-04 19:38
oldhawkiu29-Oct-04 19:38 
GeneralRe: about dynamic image in the richtextbox Pin
oldhawkiu31-Oct-04 14:15
oldhawkiu31-Oct-04 14:15 
GeneralHelp On A Oracle Insert Statement Pin
macsgirl29-Oct-04 17:03
macsgirl29-Oct-04 17:03 
GeneralRe: Help On A Oracle Insert Statement Pin
Dave Kreskowiak29-Oct-04 18:53
mveDave Kreskowiak29-Oct-04 18:53 
GeneralRe: Help On A Oracle Insert Statement Pin
macsgirl29-Oct-04 18:56
macsgirl29-Oct-04 18:56 
GeneralRe: Help On A Oracle Insert Statement Pin
Heath Stewart30-Oct-04 3:39
protectorHeath Stewart30-Oct-04 3:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.