Click here to Skip to main content
15,886,873 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralConcurrent Assembly versions Pin
ProffK2-Apr-04 1:50
ProffK2-Apr-04 1:50 
GeneralFramework Version Pin
JM_FL1-Apr-04 22:55
JM_FL1-Apr-04 22:55 
GeneralRe: Framework Version Pin
Stefan Troschuetz12-Apr-04 22:52
Stefan Troschuetz12-Apr-04 22:52 
GeneralTransfers to the client an amount of the expected result Pin
s_habibi1-Apr-04 19:35
s_habibi1-Apr-04 19:35 
QuestionHow to override non-virtual method in .NET (not a joke) Pin
Eugene Mayeski1-Apr-04 12:34
professionalEugene Mayeski1-Apr-04 12:34 
AnswerRe: How to override non-virtual method in .NET (not a joke) Pin
Colin Angus Mackay1-Apr-04 13:21
Colin Angus Mackay1-Apr-04 13:21 
GeneralRe: How to override non-virtual method in .NET (not a joke) Pin
Eugene Mayeski1-Apr-04 13:30
professionalEugene Mayeski1-Apr-04 13:30 
GeneralRe: How to override non-virtual method in .NET (not a joke) Pin
Colin Angus Mackay1-Apr-04 14:01
Colin Angus Mackay1-Apr-04 14:01 
Eugene Mayeski wrote:
What we need is to change behaviour of socket's Connect, Receive and Send methods to change the data that are being sent

So what you are saying is that you want to change the behaviour in the actual Socket class rather than in a derived class. Is that right?

Also, what do you mean by change the data that is being sent? (I don't know much about SSH tunneling so this might be a naïve question) If you are trying to change IP and TCP headers then you can forget using .NET Sockets. A friend of mine has been doing his final year thesis at University using .NETs Sockets to change the IP header and gave up because .NET either transmitted two headers or replaced his header with its own. He eventually solved the problem with a hook into the system at the NDIS level.

Eugene Mayeski wrote:
Frankly speaking, I don't understand how class designers could be SO blind and brainless to make the methods static

By "static" you mean non-virtual because the methods are not actually static as in non-instance specific ("Shared" in VB.NET terminology)

As to the design of the class, and while I can't speak for the designers, I have noticed that many implementations that provide extra functionality on top of a Socket connection do so by wrapping the socket into the class as a field/member variable rather than deriving from it. This includes classes in the .NET Framework itself (such as TcpClient and TcpListener)

Anyway, sorry that I've not been able to be more helpful. If I have any more ideas I'll post another reply. In the meantime good luck.


"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar

"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)


GeneralDeployment of already installed Appllication in .NET. Pin
Mahesh Dara31-Mar-04 18:22
Mahesh Dara31-Mar-04 18:22 
GeneralRe: Deployment of already installed Appllication in .NET. Pin
John Kuhn31-Mar-04 18:44
John Kuhn31-Mar-04 18:44 
GeneralRe: Deployment of already installed Appllication in .NET. Pin
je_gonzalez1-Apr-04 14:28
je_gonzalez1-Apr-04 14:28 
GeneralRe: Deployment of already installed Appllication in .NET. Pin
Mahesh Dara1-Apr-04 20:21
Mahesh Dara1-Apr-04 20:21 
QuestionHow to print a RTF document Pin
manfred.bjorlin31-Mar-04 3:45
manfred.bjorlin31-Mar-04 3:45 
GeneralCalling .Net-DLLs from regular, unmanaged C++ Pin
Eric Schaefer30-Mar-04 22:40
Eric Schaefer30-Mar-04 22:40 
GeneralRe: Calling .Net-DLLs from regular, unmanaged C++ Pin
Roman Rodov31-Mar-04 14:41
Roman Rodov31-Mar-04 14:41 
GeneralRe: Calling .Net-DLLs from regular, unmanaged C++ Pin
Eric Schaefer1-Apr-04 22:08
Eric Schaefer1-Apr-04 22:08 
GeneralRe: Calling .Net-DLLs from regular, unmanaged C++ Pin
Mike Dimmick5-Apr-04 2:32
Mike Dimmick5-Apr-04 2:32 
Generalrichtextbox removing highlight from selected text Pin
Member 33109630-Mar-04 19:54
Member 33109630-Mar-04 19:54 
GeneralPrompt to add files when inserted MISSING Pin
Kris Morness30-Mar-04 12:19
Kris Morness30-Mar-04 12:19 
GeneralRe: Prompt to add files when inserted MISSING Pin
Heath Stewart30-Mar-04 13:04
protectorHeath Stewart30-Mar-04 13:04 
GeneralRe: Prompt to add files when inserted MISSING Pin
Kris Morness30-Mar-04 13:13
Kris Morness30-Mar-04 13:13 
GeneralRe: Prompt to add files when inserted MISSING Pin
Heath Stewart30-Mar-04 13:15
protectorHeath Stewart30-Mar-04 13:15 
GeneralRe: Prompt to add files when inserted MISSING Pin
Kris Morness30-Mar-04 14:30
Kris Morness30-Mar-04 14:30 
QuestionSend mail thru Lotus Notes ? Pin
MrBean29-Mar-04 21:29
MrBean29-Mar-04 21:29 
AnswerRe: Send mail thru Lotus Notes ? Pin
Daniel Turini29-Mar-04 21:41
Daniel Turini29-Mar-04 21:41 

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.