The Carbylamine reaction is a chemical test for detection of primary amines. In this reaction, the analyte is heated with alcoholic potassium hydroxide and chloroform. If a primary amine is present, the isocyanide is formed.
For example, the reaction with ethylamine:
RNH2 + CHCl2 + 4KOH ——> RNC + 3KCl + 3H2O
The reaction with aniline:

The carbylamine test does not give a positive reaction with secondary and tertiary amines.
In this video Mr. Lalit Sardana(IIT-JEE AIR 243) an IITJEE trainer will be explaining you some topics related to it. He has done a lot of things that are above the call of duty. This video is useful for students appearing in 11th CBSE, 12th CBSE exams and for the students appering in the competitive exams like JEE Mains, JEE Advanced, VITEEE, WBJEE, KCET, J and K Engineering, MPPET, AIPMT.
Watch the video related to The Carbylamine reaction on this link http://www.studyadda.com/videos/jee-chemistry-lectures/haloforms/carbylamine-reaction/1422
more...